/*
 *  glogin.h - Login Window
 *  Copyright (c) 2005 Derek Ingrouville (dergro@users.sourceforge.net)
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Library General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef _GLOGIN_H
#define _GLOGIN_H

#include <gtk/gtk.h>
#include "msn/msn.h"

typedef struct _GLoginDialog
{
    GtkDialog *dialog;     /* Login window */
    GtkEntry *acct_entry;  /* Account text entry  */
    GtkEntry *pass_entry;  /* Password text entry */
} GLoginDialog;

GLoginDialog *glogin_dialog_new ();
void glogin_dialog_free (GLoginDialog *glogin);

int glogin_dialog_show (GLoginDialog *glogin);
gboolean glogin_signin (MsnSession *session);

#endif /* _GLOGIN_H */
